<?php

interface Module_Interface_Select {
	public function setOptions($options = array());
	
	public function getById($id,$options = array());
	public function getByField($field, $value, $options = array(),$onlyOne = true) ;
	public function getByFieldValueArray($fieldValues, $options = array(), $onlyOne = true);
	
	public function getData($whereArray = null, $options = array(), $onlyOne = false);
	public function getCounts($whereArray = null);
	
	public function getDataByPageInfo($whereArray, $pageInfoArray);
	public function getHtmlByPageInfo($pageInfoArray);
	public function getFormatHtmlByPageInfo($pageInfoArray);
}

